'''
Created on May 26, 2011

@author: anupams
'''

from com.anupam.common.utils import Utils

class Sorting(object):

  def __init__(self, numArray):
    self.numArray = numArray

  def insertionSort(self, numArray = None):
    toSort = None
    if not numArray :
      toSort = self.numArray
    else:
      toSort = numArray
    print toSort


if __name__ == '__main__':
  numArray = Utils().generateNumbers(10)
  sortie = Sorting(numArray)
  sortie.insertionSort([9006, 7001, 9042, 502, 9817, 9914, 1023, 8321, 9869, 6150])
  
